using System;
using System.Web.Mvc;
using Higgs.Web.AtomPub.Binders;

namespace Higgs.Web.AtomPub.Models
{
    [ModelBinder(typeof(EntryModelBinder))]
    public interface IEntry
    {
        Guid Id { get; set; }
        string Title { get; set; }
        string ContentHtml { get; set; }
        bool Draft { get; set; }
        string Url { get; set; }
        DateTime? EditedDate { get; set; }
        DateTime? UpdatedDate { get; set; }
        DateTime? PublishedDate { get; set; }

        string[] Terms { get; set; }
    }
}